package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.MainPostBean;

import java.time.LocalDate;


public interface IMainPostService {

    public IPage<MainPostBean> cutByItem(Integer id, Integer pageNo, String title, String author, LocalDate startDate,
                                         LocalDate endDate);


    public void add(MainPostBean postBean);


    public MainPostBean findById(Integer postId);
}
